package com.tianfei.crowd.service.api;

import com.tianfei.crowd.entity.Auth;

import java.util.List;
import java.util.Map;

/**
 * @author: Herz
 * @date: 2021/7/18 11:00
 */
public interface AuthService {


    List<Auth> getAllAuth();

    List<Integer> getAssignedAuthIdByRoleId(Integer roleId);

    void saveAssignAuthToRole(Map<String, List<Integer>> map);

    List<String> getAssignedAuthNameByAdminId(Integer adminId);
}
